// OwnerParamWnd.h: interface for the OwnerParamWnd class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_OwnerParamWnd_H__7968C7CE_63AF_4D74_8430_90D4D3CC0CA7__INCLUDED_)
#define AFX_OwnerParamWnd_H__7968C7CE_63AF_4D74_8430_90D4D3CC0CA7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "PropertyOwner.h"
#include "PropertyCustomVisitor.h"

namespace pa
{
	class DllExport OwnerParamWnd  
	{
	public:
		OwnerParamWnd();
		virtual ~OwnerParamWnd();

	public:
		void SetWindowParam(CWnd* pParentWnd,const CRect& size);
		virtual BOOL CreateParamWindow(PropertyOwner& pOwner);
		void ShowWindow(BOOL bIsVisible = TRUE);

	private:
		BOOL m_bIsVisible;
		PropertyWindow * m_pPropertyWindow;
		CWnd* m_pParentWnd;
		CRect m_WndSize;
		PropertyCustomVisitor m_PropertyCustomVisitor;

	};

};

#endif // !defined(AFX_OwnerParamWnd_H__7968C7CE_63AF_4D74_8430_90D4D3CC0CA7__INCLUDED_)
